<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta name="Generator" content="68ECSHOP v4_2"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="Keywords" content=""/>
    <meta name="Description" content=""/>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
    <title>{:session("user_name")}的收藏夹</title>
    <link rel="stylesheet" type="text/css" href="__CSS__/home/68ecshop_common.css"/>
    <link rel="stylesheet" type="text/css" href="__CSS__/home/user.css"/>
    <script src="__JQ__" type="text/javascript" charset="utf-8"></script>
    <!--			layer-->
    <script type="text/javascript" src="__JS__/jquery.form.js"></script>
    <script type="text/javascript" src="__JS__/tips/toastr.min.js"></script>
    <script type="text/javascript" src="__JS__/layer/layer.js"></script>
    <script type="text/javascript" src="__JS__/jquery.layer.js"></script>
    <!--			layer-->
    <script src="__JS__/common.min.js" type="text/javascript" charset="utf-8"></script>
    <style>
        .reveal-modal-bg {
            position: fixed;
            height: 100%;
            width: 100%;
            z-index: 100;
            display: none;
            top: 0;
            left: 0;
            background: rgba(00, 00, 00, 0.4);
        }

        .reveal-modal {
            visibility: hidden;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            margin: 30px auto 0;
            width: 800px;
            position: absolute;
            z-index: 200;
        }

        .reveal-modal .baoguo {
            width: 100%;
            height: 800px;
            position: relative;
            z-index: 300;
        }

        .reveal-modal .baoguo img {
            width: 100%;
        }

        .reveal-modal .close-reveal-modal {
            width: 36px;
            height: 36px;
            position: absolute;
            top: 11px;
            right: 81px;
            cursor: pointer;
            z-index: 400;
        }

        .reveal-modal .hongbaoBtn {
            border: 0px;
            width: 200px;
            height: 60px;
            position: absolute;
            left: 305px;
            bottom: 108px;
            display: block;
        }

        .reveal-modal .hongbaoBtn img {
            border: 0px;
            width: 100%;
            height: 100%;
        }

        .reveal-modal .close-reveal-modal img {
            width: 100%;
            height: 100%;
        }
    </style>
    <!--[if lt IE 9]>
    <style>
        .reveal-modal-bg {
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc000000, endColorstr=#cc000000);
        }
    </style>
    <![endif]-->
</head>

<body>
<!--头部导航-->
<include file="Public/head_a"/>
<!--S公共头部-->
<include file="Public/head_b"/>
<include file="Public/head_c"/>
<!--E公共头部-->
<script type="text/javascript">
    //<![CDATA[

    function checkSearchForm() {
        if (document.getElementById('keyword').value) {
            var frm = document.getElementById('searchForm');
            var type = parseInt(document.getElementById('searchtype').value);
            frm.action = type == 0 ? 'search.php' : 'stores.php';
            return true;
        } else {
            alert("请输入关键词！");
            return false;
        }
    }

    function myValue1() {
        document.getElementById('keyword').value = "请输入商品名称或编号...";
    }

    function myValue2() {
        document.getElementById('keyword').value = "";
    }

    //]]>
    $('.search-type li').click(function () {
        $(this).addClass('cur').siblings().removeClass('cur');
        $('#searchtype').val($(this).attr('num'));
    });
    $(function () {
        //头部搜索
        $('.search-type').hover(function () {
            $(this).css({
                "height": "auto",
                "overflow": "visible"
            });
        }, function () {
            $(this).css({
                "height": 32,
                "overflow": "hidden"
            });
        });

    });

    function _show_(h, b) {
        if (!h) {
            return
        }
        if (b && b.source && b.target) {
            var d = (typeof b.source == "string") ? M.$("#" + b.source) : b.source;
            var e = (typeof b.target == "string") ? M.$("#" + b.target) : b.target;
            if (d && e && !e.isDone) {
                e.innerHTML = d.value;
                d.parentNode.removeChild(d);
                if (typeof b.callback == "function") {
                    b.callback()
                }
                e.isDone = true
            }
        }
        M.addClass(h, "hover");
        if (b && b.isLazyLoad && h.isDone) {
            var g = h.find("img");
            for (var a = 0, c = g.length; a < c; a++) {
                var f = g[a].getAttribute("data-src_index_menu");
                if (f) {
                    g[a].setAttribute("src", f);
                    g[a].removeAttribute("data-src_index_menu")
                }
            }
            h.isDone = true
        }
    }

    function _hide_(a) {
        if (!a) {
            return
        }
        if (a.className.indexOf("hover") > -1) {
            M.removeClass(a, "hover")
        }
    }
    $(".expand-menu .list").hover(function () {
        $(this).children(".categorys").show();
    }, function () {
        $(this).children(".categorys").hide();
    })
</script>
<div class="margin-w1210 clearfix">

    <include file="Public/user_left"/>

    <div class="user-right">
        <div class="account">
            <div class="notice"><i></i> <span>用户中心公告：淘嘟嘟上线啦！</span></div>
            <script>
                /*第一种形式 第二种形式 更换显示样式*/
                function setTabCatGoods(name, cursel, n) {
                    for (i = 1; i <= n; i++) {
                        var menu = document.getElementById(name + i);
                        var con = document.getElementById("con_" + name + "_" + i);
                        con.style.display = i == cursel ? "block" : "none";
                        menu.className = i == cursel ? "line1" : "line2";
                    }
                }
            </script>
            <form name="myform" id="myform" action="" method="post">
            <div class="middle collect" style="height: auto;">
                <div class="line1" id="tab1" onmouseover="setTabCatGoods('tab', 1, 2)">
                    <div class="title"><i></i><span>商品收藏</span></div>
                </div>
                <div class="line2" id="tab2" onmouseover="setTabCatGoods('tab', 2, 2)">
                    <div class="title"><i></i><span>店铺收藏</span></div>
                </div>
                <div class="tab_con" style="width:100%; min-height: 200px;">
                    <div class="" id="con_tab_1">
                        <div class="box">
                            <div class="mar_top">
                                <table class="ncm-default-table">
                                    <tbody>
                                    <tr>
                                        <td colspan="2" class="pic-model">
                                            <ul>
                                                <foreach name="goods" item="v">
                                                    <li class="favorite-pic-list">
                                                        <div class="favorite-goods-thumb">
                                                            <a href="{:HOME_URL}/Goods/{$v['goods_id']}" target="_blank" title="{$v['goods_title']}"> <img src="{$v['goods_thumb']}" alt="{$v['goods_title']}" width="200" height="200"> </a>
                                                        </div>
                                                        <div class="favorite-goods-info">
                                                            <dl>
                                                                <dt>
                                                                    <a href="{:HOME_URL}/Goods/{$v['goods_id']}" target="_blank" title="{$v['goods_title']}">{$v['goods_title']}</a>
                                                                </dt>
                                                                <dd class="price">
                                                                    ￥{$v['goods_price']}
                                                                </dd>
                                                                <dd class="hover_tan">
                                                                    
                                                                    <i class="del"></i>
                                                                    <a title="删除" data={$v['goods_id']} class="js-del">删除</a>
                                                                </dd>
                                                            </dl>
                                                        </div>
                                                    </li>
                                                </foreach>
                                            </ul>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                                <form name="selectPageForm" action="/user.php" method="get">
                                </form>
                                <script type="Text/Javascript" language="JavaScript">
                                    <!--

                                    function selectPage(sel) {
                                        sel.form.submit();
                                    }

                                    //-->
                                </script>
                            </div>
                        </div>
                        <if condition="!$goods">
                            <div class="emptyFrame_collect"><i class="user_bg"></i><span>您的收藏空空的，赶快去购物吧！</span></div>
                        </if>
                    </div>
                    <div id="con_tab_2" style="display:none">
                        <div class="box">
                            <div class="mar_top">
                                <table width="100%" border="0" cellpadding="10" cellspacing="1" bgcolor="#eeeeee" class="ncm-default-table">
                                    <thead>
                                    <tr>
                                        <th colspan="2">店铺</th>
                                        <th>商家名称</th>
                                        <th>联系电话</th>
                                        <th>联系QQ</th>
                                        <th>操作</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <foreach name="store" item="v">
                                        <tr class="bd-line">
                                            <td class="w70">
                                                <div class="ncm-goods-thumb">
                                                    <a href="/Supplier/{$v['store_id']}" target="_blank" title="商家店铺名称">
                                                    <empty name="v.store_label">
                                                        <img src="__IMG__/home/mask2.png" alt="商家店铺名称" style="width: 60px;height: 60px;">
                                                    <else/>
                                                        <img src="{$v['store_label']}" alt="商家店铺名称" style="width: 60px;height: 60px;">
                                                    </empty>
                                                    </a>
                                                </div>
                                            </td>
                                            <td align="left">
                                                <dl class="goods-name">
                                                    <dt><a href="/Supplier/{$v['store_id']}" target="_blank" title="商家店铺名称">{$v['store_name']}</a></dt>
                                                </dl>
                                            </td>
                                            <td align="center">
                                                <a href="/Supplier/{$v['store_id']}" target="_blank" title="店铺公司名称" class="main-color">{$v['store_company_name']}</a>
                                            </td>
                                            <td align="center">{$v['store_phone']}</td>
                                            <td align="center">{$v['store_qq']}</td>
                                            <td align="center"><span><a class="js-del" title="取消关注" data="{$v['store_id']}">取消关注</a></span></td>
                                        </tr>
                                    </foreach>
                                    </tbody>
                                </table>
                                <form name="selectPageForm" action="/user.php" method="get">
                                </form>
                                <script type="Text/Javascript" language="JavaScript">
                                    <!--

                                    function selectPage(sel) {
                                        sel.form.submit();
                                    }

                                    //-->
                                </script>
                            </div>
                        </div>
                        <if condition="!$store">
                        <div class="emptyFrame_shop"><i class="user_bg"></i><span>您的店铺收藏空空的，赶快去收藏店铺吧！</span></div>
                        </if>
                    </div>
                </div>
            </div>
            </form>
        </div>
    </div>
</div>
<div class="pop-mask"></div>

<!--S公共尾部-->
<div style="clear: both"></div>
<div class="site-footer">
    <div class="footer-related">
        <include file="Public/bootom_a" />
        <include file="Public/bootom_b" />
        <include file="Public/bootom_c" />
    </div>
</div>

<a href="#" class="big-link" data-reveal-id="myModal" data-animation="fade"></a>
</body>
</html>
<script type="text/javascript">
    $('#myform').layer({
        actionUrl: "batchAction",
        deleteUrl: "{:U('del')}",
    });
</script>